﻿namespace Bt.Mvc
{
    public class ViewResult
    {
        public ViewResult()
        {
            this.StatusCode = "202 OK";
        }
        public string StatusCode { get; set; }
        public string Body { get; set; }
        public object ViewData { get; set; }

        public virtual string RenderBody()
        {
            return this.Body;
        }

        public static ViewResult NotFound = new ViewResult() { Body = "Not Found", StatusCode = "404 Not Found" };
    }
}